//
//  MyGrowlDelegate.m
//  Friday
//
//  Created by josy on 12/17/09.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import "MyGrowlDelegate.h"


@implementation MyGrowlDelegate
- (NSDictionary *) registrationDictionaryForGrowl {
	NSMutableDictionary* dict = [[NSMutableDictionary alloc] init];
	
	NSMutableArray* array = [[NSMutableArray alloc] init];
	[array addObject:@"FridayNotfn"];
	[dict setValue:array forKey:GROWL_NOTIFICATIONS_ALL];
	[dict setValue:array forKey:GROWL_NOTIFICATIONS_DEFAULT];
	return dict;
}

- (NSString *) applicationNameForGrowl {
	return @"Friday";
}

- (void) growlNotificationWasClicked:(id)clickContext {
	//NSLog(@"Growl notification was clicked .. yyyayya");
	[[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:clickContext]];
}

- (void) growlNotificationTimedOut:(id)clickContext {
	//NSLog(@"Growl notification timed out // yayyayyay ");
}
@end
